package com.itheima.d1_homework;

public class Lecturer extends Teacher {
    public Lecturer() {
    }

    public Lecturer(String name, int id) {
        super(name, id);
    }

    @Override
    public void work() {
        System.out.println("讲师:" + "工号为" + getId() + "的讲师" + getName() + "在讲课");
    }
}
